#ifndef ADDMESSAGE_H
#define ADDMESSAGE_H

#include <QDialog>
#include "student.h"

using namespace student;

namespace Ui {
class add_Message;
}

class add_Message : public QDialog {
    Q_OBJECT

  public:
    explicit add_Message(QWidget *parent = 0);
    ~add_Message();

  private slots:
    void on_pushButton_clicked();
    void getData(Student*,int type);

private:
    Ui::add_Message *ui;
    Student* stu;
    int type;
};

#endif // ADDMESSAGE_H
